
<?php
    //foreach($this->testimonials as $abc)
{ ?>
<!--
<ul>
     <li>
        <?php //echo $this->htmlLink($abc->getHref(), $abc->getTitle()); ?>
        <?php //echo $this->translate('Posted');?> <?php echo $this->timestamp($abc->creation_date) ?>
        <?php //echo $this->string()->truncate($this->string()->stripTags($abc->description), 300) ?>
    </li>
</ul>
-->
<?php
} ?>


<div class="shoutbox_history">
    <a href="<?php echo $this->url(array('action' => 'browse', 'id' => $this->subject_id), 'testimonial_general')?>"><?php echo $this->translate('View all')?></a>
</div>
<ul class="blogs_browse">
  <?php foreach( $this->testimonials as $def ): ?>
    <li>
      <div class='blogs_browse_info'>
        <p class='blogs_browse_info_title'>
          <?php echo $this->htmlLink($def->getHref(), $def->getTitle()) ?>
        </p>
        <p class='blogs_browse_info_date'>
          <?php echo $this->translate('Posted by');?> <?php echo $this->htmlLink(Engine_Api::_()->getItem('user', $def->sender_id)->getHref(), Engine_Api::_()->getItem('user', $def->sender_id)->getTitle()) ?> <?php echo $this->timestamp($def->creation_date) ?>
        </p>
        <p class='blogs_browse_info_blurb'>
            <?php echo $def->description; ?>
        </p>
      </div>
    </li>
  <?php endforeach; ?>
</ul>


<hr><hr>


